Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust: remove unused #9419

Closed
wants to merge 1 commit into from
Closed

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
None, generic cleaning
https://redmine.openinfosecfoundation.org/issues/4083

Describe changes:

  • rust: remove unused dead code

Found with
git grep 'pub ' rust/src/ | cut -d: -f1 | uniq | xargs sed -i -e 's/pub /pub(crate) /' then see rust warnings when compiling

There is nothing more to be done :

  • There are parsed fields which get never used. (like rrclass in DNSQueryEntry) : I feel good to keep them

Rebase #9256 with review taken into account

@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #9419 (e2a0416) into master (becb8ce) will decrease coverage by 0.05%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9419      +/-   ##
==========================================
- Coverage   82.17%   82.13%   -0.05%     
==========================================
  Files         968      968              
  Lines      274198   274195       -3     
==========================================
- Hits       225331   225211     -120     
- Misses      48867    48984     +117     
Flag Coverage Δ
fuzzcorpus 64.03% <ø> (-0.01%) ⬇️
suricata-verify 60.85% <ø> (-0.03%) ⬇️
unittests 62.88% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@jasonish jasonish mentioned this pull request Aug 30, 2023
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 15786

@victorjulien victorjulien added this to the 8.0 milestone Sep 5, 2023
@catenacyber catenacyber mentioned this pull request Sep 18, 2023
@catenacyber
Copy link
Contributor Author

Rebased in #9498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants